package com.cedarhd.brzx.dto.request;

import com.cedarhd.brzx.domain.annotation.NotEmptyXs;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Evan
 * @date 2018/4/27
 */
@Data
@ToString
public class ApplyBindBankCardRequestDto  implements Serializable {

    private static final long serialVersionUID = 8522958385203609814L;

    @ApiModelProperty(value = "商户用户标识",required = true)
    //@Pattern(regexp = ValidatorUtil.REGEXP_NOTNULL, message = "bizUserId不能为空")
    @NotEmptyXs(message = "bizUserId不能为空")
    private String bizUserId;


    @ApiModelProperty(value = "银行卡号",required = true)
    @NotEmptyXs(message = "cardNo不能为空")
    private String cardNo;

    @ApiModelProperty(value = "手机号",required = true)
    @NotEmptyXs(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "姓名",required = true)
    @NotEmptyXs(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "银行卡类型",required = true)
    private Long cardType;

    @ApiModelProperty(value = "身份证件类型",required = true)
    private Long identityType;

    @ApiModelProperty(value = "身份证号",required = true)
    @NotEmptyXs(message = "身份证号不能为空")
    private String identityNo;
}
